.popup-footer {
    display: flex;

    & > *:first-child {
        flex: auto;
    }
}

%button-shared {
    flex: none;
    height: 30px;
    width: 30px;
    border: none;
    border-left: 1px solid var(--line-color);
    background-color: var(--bg-color);
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;

    &:hover {
        background-color: var(--hover-color);
    }

    &:focus {
        outline: none;
        background-color: var(--hover-color);
    }

    &:active {
        background-color: var(--active-color);
    }
}

.hidden-button {
    @extend %button-shared;
    background-image: var(--eye-icon);

    &-show {
        display: inline;
    }

    &-hide {
        display: none;
    }
}

.options-button {
    @extend %button-shared;
    background-image: var(--options-icon);

    &-show {
        display: inline;
    }

    &-hide {
        display: none;
    }
}